package com.yunweiweishi.xuhuanpaltform.yuhuan_app.pojo;


import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Entity
@Table(name = "remote_guide")
public class RemoteGuide {

    /**
     *  `id` int(20) NOT NULL,
     *   `user_id` int(20) NOT NULL COMMENT '邀请人的id',
     *   `expert_id` int(20) NOT NULL,
     *   `start_tim e` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '开始时间',
     *   `end_time` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '结束时间',
     *   `equipment_id` int(20) NOT NULL COMMENT '巡检名称',
     *   `file` varchar(255) DEFAULT NULL COMMENT '文件',
     *   `flights_id` int(20) NOT NULL COMMENT '班次的id',
     *   `partrol_route_id` int(20) NOT NULL COMMENT '巡检路线的id',
     */


    /**
     * 主键的id
     */


    @Id
    @GeneratedValue
    private  Long id;


    /**
     *
     * 用户的id
     *
     */


    private  Long  userId;


    /**
     * 专家的id
     *
     */


    private  Long  expertId;


    /**
     *设备的id
     *
     */
private  Long  equipmentId;


/**
 *
 * 班次的id
 */

private Long flightsId;


/**
 * 巡检路线的id
 */


private  Long  patrolRouteId;



/**
 *
 * 文件
 *
 */


private  String file;

/**
 *
 * 开始时间
 */


private Date  startTime;


/**
 *
 * 结束时间
 */


private  Date  endTime;



}


